import request from '@/utils/request'

export function fetchPermissionList (parameter) {
  return request({
    url: '/boss/pms/permission/listAll',
    method: 'post',
    data: parameter
  })
}
export function requestAddPermission (parameter) {
  return request({
    url: '/boss/pms/permission/add',
    method: 'post',
    data: parameter
  })
}
export function requestDeletePermission (parameter) {
  return request({
    url: '/boss/pms/permission/delete',
    method: 'post',
    data: parameter
  })
}
export function requestUpdatePermission (parameter) {
  return request({
    url: '/boss/pms/permission/update',
    method: 'post',
    data: parameter
  })
}
